package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter@Setter
@ToString
public class Customer {
    //信息id
    private Long id;
    //客户名称
    private String name;
    //客户编号
    private String sn;
    //客户性别
    private boolean gender;
    //客户年龄
    private Integer age;
    //客户电话
    private String tel;
    //客户邮箱
    private String email;
    //客户地址
    private String address;
    //客户qq号
    private String qq;
    //客户微信
    private String wechat;
    //客户身份证号
    private String idcard;
    //责任人
    private Employee inchargeuser;
    //录入人
    private Employee inputuser;
    //状态
    private Boolean state;
    //变更日期
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;
    //客户工作
    private String job;
    //客户来源
    private String customersource;
    //收入水平
    private String salarylevel;

}